package com.atguigu.service;

import com.atguigu.entity.PageResult;
import com.atguigu.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author Eric
 * @Create 2020-09-17  12:03
 * @Version project-workspace-0912
 **/
public interface SetmealService {

    //添加套餐
    void add(Setmeal setmeal, Integer[] travelgroupIds);

    //分页查询
    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    //查询所有套餐
    List<Setmeal> findAll();


    Setmeal findById(int id);

    List<Map<String, Object>> findSetmealCount();
}
